package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type Protocol struct {
	Id      int `gorm:"primaryKey"`
	Title   string
	Content string
	Url     string
	Type    int
}

func (Protocol) TableName() string {
	return fmt.Sprintf("%sprotocol", models.Prefix)
}
